GXConvertPrintRecordFrom
QuickDraw GX sends theGXConvertPrintRecordFrom
message when an application that supports the Macintosh Printing Manager calls theGXConvertPrintRecordFrom
function, which converts a print record into a driver-specific format. You can override theGXConvertPrintRecordFrom
message to customize the handling of theGXConvertPrintRecordFrom
function. Your override of theGXConvertPrintRecordFrom
message must match the following formal declaration:
OSErr MyConvertPrintRecordFrom (THPrint aTHPrint);
aTHPrint
- A handle to the print record for this printing operation.
- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
The default implementation of theGXConvertPrintRecordFrom
message does nothing. Your override fills in the print record with information from the job collection.SPECIAL CONSIDERATIONS
You never send theGXConvertPrintRecordFrom
message yourself.You need to totally override the
GXConvertPrintRecordFrom
message to support your Macintosh Printing Manager print-record format.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found,
or there was not enough memory to load it.gxPrUserAbortErr The user has canceled printing. SEE ALSO
TheGXConvertPrintRecordFrom
function is described in Inside Macintosh: QuickDraw GX Printing.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help